package com.bibrApp.difu.Response;

import java.util.List;

public class SignDataResBody {
    /**
     * {
     *     "data":{
     *         "redeemScript":"5421020794f5b55fa8d4bf7330f5d0dc9de61a2e8e585df095ee99dc76659d7a8c17da210265e71c2d1fe555e147f2648fbb2611e299707b6af77b445efd46fb733c3204a82102768c0c9293658eca0802fbc762bea8a5e38290243d393168f53b3bdcaaa4b64a2102bc8b4b827e09acbacedb24afb503d4ec9d67d1318abf3d3b048dd5b13e66174b2103168a3fbbed89ba8eb79207c25dd8d581d8f9550982f5320afad0847bef03fef155ae",
     *         "b58PublicKeys":[
     *             "xpub6Etvxu748uec9MefaDQGWUmjHLWhkmPamvGuAGAFLWyQEkEQKiBkr2sQRxeMBMmULtN5nqeze9QHvMTjZcgwHr69Jj2aibVGnA96vTDWYDZ",
     *             "xpub6Bkr2QW3A8CFWHTQB6X2bX9LkEb7hVvqciWmL28NBbPZFxEV4DcSzxkhd787qz1uRjjJTD1j4CEjpqtFGGmTGKZVxvqVN1GuXvf6Mn5zWwk",
     *             "xpub6DG8sa1m9HSLWuRrsgUTBnK3mj7G1APYHssGkLbbmY6UzRNWg7upisrXZJhdBzskQTki1NsJkNpkVmSs2wwnQhBYD6NoBxhe9miJddjyBDz",
     *             "xpub6EkEjE7H938NLSV4L6UajYQ9UEmgYwUDiCPVspPBES7hJJDnhLLi5D1twdhoUa8dT4ZKnVyLiRJoWgmGYQZkoK1aBHGgjNXaH8iuH6vtPc4",
     *             "xpub6APJYmQ6dvSB3QeNdU3rE9DiLPBTbTidNBjLUF6J1UH7V1pzyJnbUUKgj4z2gNwMoXnEMZn5kagSeLf2VSYgUUhfgUV57zwZkKkfdNevy8h"
     *         ],
     *         "hardWalletSignTransaction":{
     *             "outputs":[
     *                 {
     *                     "recipientAddress":"1BJeHPBJA6nB5ErCCSWDRXmvCtRuqjcY43",
     *                     "value":0.00043179
     *                 }
     *             ],
     *             "inputs":[
     *                 {
     *                     "prevIndex":0,
     *                     "sequence":4294967295,
     *                     "prevHash":"6cc720d08e39470604c4d69aa948a35e189026f57539c8a8dbd55c02dba4ef4a"
     *                 }
     *             ]
     *         }
     *     }
     * }
     */
    private String redeemScript;
    private List<String> b58PublicKeys;
    private HardWalletSignTransaction hardWalletSignTransaction;

    public String getRedeemScript() {
        return redeemScript;
    }

    public void setRedeemScript(String redeemScript) {
        this.redeemScript = redeemScript;
    }

    public List<String> getB58PublicKeys() {
        return b58PublicKeys;
    }

    public void setB58PublicKeys(List<String> b58PublicKeys) {
        this.b58PublicKeys = b58PublicKeys;
    }

    public HardWalletSignTransaction getHardWalletSignTransaction() {
        return hardWalletSignTransaction;
    }

    public void setHardWalletSignTransaction(HardWalletSignTransaction hardWalletSignTransaction) {
        this.hardWalletSignTransaction = hardWalletSignTransaction;
    }

    public class HardWalletSignTransaction{
       private List<Outputs> outputs;
       private List<Inputs> inputs;

        public List<Outputs> getOutputs() {
            return outputs;
        }

        public void setOutputs(List<Outputs> outputs) {
            this.outputs = outputs;
        }

        public List<Inputs> getInputs() {
            return inputs;
        }

        public void setInputs(List<Inputs> inputs) {
            this.inputs = inputs;
        }
    }

    public class Outputs{
        private String recipientAddress;
        private String value;

        public String getRecipientAddress() {
            return recipientAddress;
        }

        public void setRecipientAddress(String recipientAddress) {
            this.recipientAddress = recipientAddress;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    public class  Inputs{
        private int prevIndex;
        private String sequence;
        private String prevHash;

        public int getPrevIndex() {
            return prevIndex;
        }

        public void setPrevIndex(int prevIndex) {
            this.prevIndex = prevIndex;
        }

        public String getSequence() {
            return sequence;
        }

        public void setSequence(String sequence) {
            this.sequence = sequence;
        }

        public String getPrevHash() {
            return prevHash;
        }

        public void setPrevHash(String prevHash) {
            this.prevHash = prevHash;
        }
    }
}
